import { History } from 'history';

export interface LocalConfig {
  menu: LocalMenuItemObject[];
  routes: LocalRouteObject[];
}

export interface LocalMenuItemObject {
  title: string;
  name: string;
}

export interface LocalMenuItem extends LocalMenuItemObject {
  path: string;
}

export interface LocalRouteObject {
  name: string;
  path: string;
}

export interface LocalContext {
  menu: LocalMenuItem[];
  history: History;
}
